﻿#pragma once
#include <string>
using namespace std;
class Role{
public:
	Role();
	Role(double hp, double atk, string name);
	Role(string name);
	string get_name() const;
	double get_hp() const;
	double get_maxhp() const;
	double get_atk() const;
	void add_hp(double x);
	void add_maxhp(double x);
	void add_atk(double x);
	
	void set_name(string n);
	void set_hp(double h);
	void set_maxhp(double m);
	void set_atk(double a);
private:
	double hp;
	double maxhp;
	double atk;
	string name;
};